package vn.orderonline.core.dao.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class RestaurantMenuFoodId implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer restaurantId;
	private Integer menuFoodId;

	public RestaurantMenuFoodId() {
		
	}
	
	public RestaurantMenuFoodId(Integer restaurantId, Integer menuFoodId) {
		this.restaurantId = restaurantId;
		this.menuFoodId = menuFoodId;
	}

	@Column(name = "RESTAURANT_ID", nullable = false, precision = 10, scale = 0)
	public Integer getRestaurantId() {
		return restaurantId;
	}

	public void setRestaurantId(Integer restaurantId) {
		this.restaurantId = restaurantId;
	}

	@Column(name = "RESTAURANT_ID", nullable = false, precision = 10, scale = 0)
	public Integer getMenuFoodId() {
		return menuFoodId;
	}

	public void setMenuFoodId(Integer menuFoodId) {
		this.menuFoodId = menuFoodId;
	}
	
}
